<?php
$id = $_POST['id'];

$conn = new mysqli("localhost", "root", "", "simple_weibo");
$conn->query("set names 'utf8'");

$sql = "delete from weibo_complaint where weibo_id = ".$id;
$res = $conn->query($sql);

if($res){
    echo "忽略此微博成功";
}else{
    echo "忽略此微博失败";
}